{%lcmx_orderform_show set="列表名:dingdanshow,编号:GET[lc_id]"%}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{%$web_name%}</title>
<meta name="description" content="{%$web_description%}">
<meta name="keywords" content="{%$web_keywords%}">
<link href="{%$URL%}style.css" rel="stylesheet" type="text/css">
<link href="{%$URL%}mx.ico" rel="shortcut icon"/>
<script src="{%$URL%}jquery-1.7.1.min.js"></script>
<script src="{%$URL%}defalut.js"></script>
<script type="text/javascript">
</script>
</head>
<body>
<div id="body"> {%include file='head.htm'%}
  <div id="middle">
    <div id="left">
      <div id="type">
        <div class="title">
          <h1>栏目分类</h1>
        </div>
        <ul>
          <li><a href="user.html">会员信息</a></li>
          <li><a href="shoppingcart_list.html">购物车</a></li>
          <li><a href="dingdan_list.html">订单管理</a></li>
          <li><a href="user_zt.html">高级会员</a></li>
          <li><a href="action-user_exit.html">退出会员</a></li>
        </ul>
      </div>
      <!-- type --></div>
    <!-- left -->
    <div id="right">
      <div class="title">
        <h1>商品订单</h1>
        <h3><a href="index.html">首页</a> > 会员中心</h3>
      </div>
      <div id="con">
        <style>
td {
	padding: 5px;
	text-align: left;
}

td input {
	width: 300px;
	height: 25px;
	background: #FFF;
	border: #999 1px solid;
	line-height: 25px;
	padding-left: 2px;
}

td a {
	width: 200px;
	height: 25px;
	line-height: 28px;
	overflow: hidden;
	background: #C00;
	border: 1px solid #C00;
	color: #FFF;
	display: block;
}

td a:hover {
	background: #FFF;
}
</style>
        <center>
          商品订单
        </center>
        <ul id="dingdan">
          <li style="background: #ddd">
            <h1 style="width: 390px">商品名</h1>
            <h1>价格</h1>
            <h1>数量</h1>
            <h1>金额</h1>
          </li>
          {%lcmx_shoppingcar_list set="列表名:dingdan_product,登录页:user.html,订单:GET[lc_id]"%}
          {%if $dingdan_product%}
          {%assign var="zongjia" value=0 %}
          {%foreach from=$dingdan_product item=list%}
          <li>
            <h1 style="width:390px">{%$list.product_name%}</h1>
            <h1>￥{%$list.lc_price%}</h1>
            <h1>{%$list.lc_goods_num%}</h1>
          </li>
          {%$zongjia = $zongjia+$list.lc_price*$list.lc_goods_num%}
          {%/foreach%}
          {%else%}还没有已经完成的订单{%/if%}
          <li style=" background:#ddd">
            <h1>共计：￥{%$zongjia%}</h1>
          </li>
          <div class="clear"></div>
        </ul>
        <div class="liubai"></div>
        <form method="post" action="pay/lc_1/alipayapi.php?dingdanhao={%$dingdanshow.lc_id%}">
          <table align="center" cellpadding="5" cellspacing="5">
            <tr>
              <td>真实姓名： </td>
              <td>{%$dingdanshow.lc_name%}</td>
            </tr>
            <tr>
              <td>地址： </td>
              <td>{%$dingdanshow.lc_place%}</td>
            </tr>
            <tr>
              <td>手机号： </td>
              <td>{%$dingdanshow.lc_phone%}</td>
            </tr>
            <tr>
              <td>邮编： </td>
              <td>{%$dingdanshow.lc_yb%}</td>
            </tr>
            <tr>
              <td>最佳接收时间： </td>
              <td>{%$dingdanshow.lc_time%}</td>
            </tr>
            <tr>
              <td>配送方式：{%$dingdanshow.express_way%}</td>
              <td></td>
            </tr>
            <tr>
              <td colspan="2"><div class="middle">
              {%if $dingdanshow.lc_zt eq 0 %}
              <input type="submit"  value="付款" id="li_tijiao" style="width:60px; background:#C00; color:#FFF; border:0px"/>
              {%else%} &nbsp; {%/if%} </div></td>
            </tr>
          </table>
        </form>
      </div>
    </div>
    <!-- right -->
    <div class="clear"></div>
  </div>
  {%include file='bot.htm'%} </div>
<!-- body --> 
<br>
<br>
</body>
</html>
